package com.igeekhome.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName ScanDto
 * @Author admin(汪璇)
 * @Date 2020/2/10 16:22
 * @Description TODO
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class ScanDto {
    private Integer id;
    
    private Integer waybillNumber;
    
    private Date operationDate;
    
    private Integer scanType;
    
    private Integer expressTypeId;
    
    //快件类型名称
    private String expressTypeName;
    
    private Integer itemTypeId;
    
    //物品类型名称
    private String itemTypeName;
    
    private String senderClient;
    
    private String receiver;
    
    private Integer transportMethodId;
    
    //运输方式名称
    private String transportMethodName;
    
    private Integer paymentMethodId;
    
    //支付方式名称
    private String paymentMethodName;
    
    private Integer sendNetworkId;
    
    //寄件网点名称
    private String sendNetworkName;
    
    private BigDecimal weight;
    
    private Integer takerId;
    
    //取件员名称
    private String takerName;
    
    private Integer deliverymanId;
    
    private Integer scannerId;
    
    //扫描员名称
    private String scannerName;
    
    private Integer lastStopId;
    
    //上一网点名称
    private String lastStopName;
    
    private Integer nextStopId;
    
    //下一网点名称
    private String nextStopName;
    
    private Integer destinationId;
    
    //目的地名称
    private String destinationName;
    
    private Integer shiftId;
    
    private Integer pouchId;
    
    private Integer carId;
    
    private Integer agentId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8 ")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8 ")
    private Date updateTime;
    
    private Integer status;
    
    private  Integer scanPower;
    
    private Integer destinationNetworkId;
    
    //目的地网点名称
    private String destinationNetworkName;
    
    private Integer scanNetworkId;
    
    //扫描网点名称
    private String scanNetworkName;
}
